package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderRelDao;
import com.bdzl.biz.service.OrderRelService;
import com.bdzl.pub.entity.loan.OrderRelDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderRelServiceImpl implements OrderRelService {
	@Autowired
	private OrderRelDao orderRelDao;

	@Override
	public OrderRelDO get(Integer relId){
		return orderRelDao.get(relId);
	}

	@Override
	public List<OrderRelDO> list(Map<String, Object> map){
		return orderRelDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderRelDao.count(map);
	}

	@Override
	public int save(OrderRelDO orderRel){
		return orderRelDao.save(orderRel);
	}

	@Override
	public int update(OrderRelDO orderRel){
		return orderRelDao.update(orderRel);
	}

	@Override
	public int remove(Integer relId){
		return orderRelDao.remove(relId);
	}

	@Override
	public int batchRemove(Integer[] relIds){
		return orderRelDao.batchRemove(relIds);
	}

	@Override
	public Integer getOrderRel(String relOdrNo, Integer relCustUser, Integer relCardid) {
		return orderRelDao.getOrderRel(relOdrNo,relCustUser,relCardid);
	}

	@Override
	public Integer getOrderRelByRelCardid(Integer relCardid) {
		return orderRelDao.getOrderRelByRelCardid(relCardid);
	}

}
